package com.smedi.ismedi.dangeroussourcemanage.core.port.adapter.convert;

import com.smedi.ismedi.dangeroussourcemanage.api.dto.request.DangerSourceTimeLineRequest;
import com.smedi.ismedi.dangeroussourcemanage.core.application.command.TimeLineCommand;
import org.mapstruct.Builder;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * @author yangzhenzhou
 * @date 2022/11/10
 */
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE, builder = @Builder(disableBuilder = true))
public interface AdapterConverter {
    TimeLineCommand dangerSourceTimeLineRequestToTimeLineCommand(DangerSourceTimeLineRequest dangerSourceTimeLineRequest);
}
